package com.kum.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.*;

import java.util.Date;

/**
 * @version V1.0
 * @Package com.kum.domain.entity
 * @auhter 枯木Kum
 * @date 2021/3/10-1:16 PM
 */


@Data
@Builder(toBuilder = true)
@AllArgsConstructor
@NoArgsConstructor
public class SysSign {
    @TableId(type = IdType.ASSIGN_UUID)
    private String id;

    /**
     * 签到用户
     */
    @TableField(exist = false)
    private SysUser sysUser;
    /**
     * 签到用户ID
     */
    private Integer userId;
    /**
     * 签到用户名称
     */
    private String userName;
    /**
     * 签到类型
     */
    private String signType;
    /**
     * 签到时间
     */
    private Date signDate;
}
